WP_Defender\Controller\Antibot_Global_Firewall A

Total Complexity 54
Dependencies 12
Dependents 3
Total lines 528
Lines of code 328
Logical lines of code 113
Comment lines 145
Methods 18
Properties 4

Methods 18

Method Rating Maintainability Complexity Lines of code
save_settings()
B
37 16 78
blocklist_checker_add_ip_to_allowlist()
S
43 5 54
data_frontend()
S
48 4 34
blocklist_checker_search()
S
49 3 33
sync_state()
S
62 4 12
maybe_hcm_connection_attempt()
S
61 4 12
__construct()
S
58 3 15
switch_managed_by()
S
53 2 26
blocklist_checker_submit_trusted_ip_form()
S
54 1 26
import_data()
S
65 2 9
handle_download_and_store_blocklist()
S
74 2 5
enqueue_assets()
S
73 2 5
to_array()
S
98 1 1
remove_data()
S
72 1 6
export_strings()
S
82 1 3
disconnect_site()
S
74 1 4
hide_antibot_notice()
S
76 1 4
remove_settings()
S
98 1 1